Skip to content

Batching buffers read when reaching threshold#1406

Open
kstribrnAmzn wants to merge 1 commit intoFreeRTOS:mainfrom
kstribrnAmzn:batchingBufferThreshold
Open

Batching buffers read when reaching threshold#1406
kstribrnAmzn wants to merge 1 commit intoFreeRTOS:mainfrom
kstribrnAmzn:batchingBufferThreshold

Conversation

@kstribrnAmzn
Copy link
Copy Markdown
Member

Description

This change reduces the differences between traditional stream/message buffers and batching stream buffers. Batching stream buffers are updated to trigger and read data when enough data is present to EQUAL the threshold rather than exceed it.

Test Steps

Not tested yet - will need to introduce a unit testing PR.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This change reduces the differences between traditional
stream/message buffers and batching stream buffers. Batching
stream buffers are updated to trigger and read data when
enough data is present to EQUAL the threshold rather than exceed
it.

Inspired by FreeRTOS#1375
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant